home *** CD-ROM | disk | FTP | other *** search
- Path: news.usa.net!usenet
- From: bertie@Sigma.Epsilon.Chi.org (Bertram Wooster)
- Newsgroups: comp.lang.c,comp.lang.c++,comp.unix.programmer
- Subject: Re: itoa() in C for unix >>>
- Date: 20 Apr 1996 06:17:58 GMT
- Organization: The Drone's Club
- Message-ID: <4l9vim$nas@shiva.usa.net>
- References: <1996Apr12.121207@topaz> <4l44mv$g0a@news.accent.net>
- Reply-To: alberts@usa.net
- NNTP-Posting-Host: sean.com
- X-Newsreader: WinVN 0.92.2
-
- In article <4l44mv$g0a@news.accent.net>, dallaire@megatoon.com (Guy Dallaire) says:
- >
- >naderr@topaz.cqu.edu.au wrote:
- >
- >>Hi,
- >
- >>Does anyone have or know of where I may obtain a itoa()
- >
- >If you really can't find it, use sprintf instead...
- >
- >Ex.: sprintf(szString, "%d", iValue);
- >
- >This will place the string version of iValue into szString. You can
- >use all of printf's flags too.
- >
- > Hope this helps
- >Guy Dallaire
- >Groupe DMR Inc.
- >dallaire@megatoon.com
- >
- >P.S. My opinions are my own and do not reflect those of my employer
- >
-
- For the record, when I needed this function I searched *all over*
- my system and couldn't find it. I ended up using the function as
- defined in K&R's C Prog. Lang. (2nd ed.). Your way is better!
-
-